From: Alessandro Bono Date: Fri, 20 Oct 2023 20:00:59 +0000 (+0200) Subject: locatePointer: Mark the animation as required X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~204^2^2~11 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=31509e55ca83560b61663cab8ae695cb192eb4ef;p=gnome-shell.git locatePointer: Mark the animation as required When the accessibility option "Reduce Animation" is turned on, the accessibility option "Locate Pointer" stops to work. This is because the animation is not marked as required. Mark it as such. Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7472 Part-of: --- diff --git a/js/ui/locatePointer.js b/js/ui/locatePointer.js index 46449b3d4..b8a132ce8 100644 --- a/js/ui/locatePointer.js +++ b/js/ui/locatePointer.js @@ -18,7 +18,7 @@ export class LocatePointer { return; if (enabled) { - this._ripples = new Ripples.Ripples(0.5, 0.5, 'ripple-pointer-location'); + this._ripples = new Ripples.Ripples(0.5, 0.5, 'ripple-pointer-location', true); this._ripples.addTo(Main.uiGroup); } else { this._ripples.destroy();